package com.akaovi.shareWare.mess;

/**
 * @author akaovi
 * @version 1.0
 * @description 文件消息类型
 * @date 2022/10/13 23:32
 * @since 2022/10/13 23:32
 */
public class FileMess extends Message{
    private final Long fileLength;
    private final String fileName;

    public FileMess(ContentType contentType, Long fileLength, String fileName) {
        super(contentType);
        this.fileLength = fileLength;
        this.fileName = fileName;
    }

    public Long getFileLength() {
        return fileLength;
    }

    public String getFileName() {
        return fileName;
    }


}
